﻿<MudPopoverProvider />

<MudSelect T="string" ValueChanged="ValueChanged" SelectedValuesChanged="ValuesChanged" MultiSelection="MultiSelection">
    <MudSelectItem T="string" Value="@("1")" />
    <MudSelectItem T="string" Value="@("2")" />
    <MudSelectItem T="string" Value="@("3")" />
    <MudSelectItem T="string" Value="@("4")" Disabled="true" />
</MudSelect>

@code {
    [Parameter]
    public bool MultiSelection { get; set; }

    public int ValueChangeCount { get; set; }

    public int ValuesChangeCount { get; set; }

    private void ValueChanged()
    {
        ValueChangeCount++;
    }

    private void ValuesChanged()
    {
        ValuesChangeCount++;
    }
}
